import { io, Socket } from "socket.io-client";
console.log(process.env.NODE_ENV)
var socketAddress = ""
if (process.env.NODE_ENV == "development") {
  socketAddress = process.env.VUE_APP_SOCKET_NAMESPACE
}else{
  socketAddress = process.env.VUE_APP_SOCKET_HOST + process.env.VUE_APP_SOCKET_NAMESPACE
}
console.log(socketAddress)
export default class SocketConnect {
  socket!: Socket
  
  constructor(){
    this.socket = io(socketAddress)
  }
}